import {Option} from "@/types/public";
import i18n from "@/translations";

export const dateScreenList: Option[] = [
    {
        label: i18n.t('common:day'),
        value: "0",
        unit: "day"
    },
    {
        label: i18n.t('common:-1day'),
        value: "-1",
        unit: "day"
    },
    {
        label: i18n.t('common:-7day'),
        value: "-6",
        unit: "latelyday"
    },
    {
        label: i18n.t('common:week'),
        value: "0",
        unit: "week"
    },
    {
        label: i18n.t('common:month'),
        value: "0",
        unit: "month"
    },
    {
        label: i18n.t('common:-1month'),
        value: "-1",
        unit: "month"
    }
];


export const channelMaps = {
    1: "ud",
    2: "cid"
}

// 登录频道
export const loginChannels: Option<number>[] = [
    {
        label: `${i18n.t('common:AL')}UD`,
        value: 1
    },
    {
        label: `${i18n.t('common:TM')}CID`,
        value: 2
    },
    {
        label: `${i18n.t('common:JD')}CID`,
        value: 2
    },
    {
        label: `${i18n.t('common:PDD')}CID`,
        value: 2
    },
    {
        label: `${i18n.t('common:TM')}PA`,
        value: 2
    },
];